package com.yangcangclub.commons.annotation;

/**
 * 自定义权限枚举类型
 */
public enum AuthEnum {

    PUBLIC(-1,"公开") ,
    USER(0,"普通用户") ,
    ADMIN(1,"平台管理") ,
    AUTHOR(2,"发布文章") ,
    ADV(3,"发布广告") ,
    RECOMMEND(4,"引荐文章") ,
    COMMUNITY(5,"发布圈子") ,
    NEWS(6,"发布新闻") ,
    OPERATING(7,"运营管理") ,
    BIGSHOT(9,"大咖") ;

    AuthEnum(int power,String desc) {
        this.power = power;
        this.desc = desc;
    }

    private int power;
    private String desc;
    public int getPower() {
        return power;
    }
    public String getDesc() {
        return desc;
    }


}
